package com.internship.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.Notify;
import com.internship.page.Pagination;

public interface NotifyDao {
	public Notify getNotifyById(int Id);
	public List<Notify>  getNotifyList(@Param("title") String title,@Param("toId") int toId,Pagination page);
	public List<Notify>  getNotifyList();
	public int addNotify(Notify notify);
	public int getNotifyCount(@Param("toId") int toId);
	public int updateNotify(Notify notify);
	public int delNotify(@Param("Id") int Id);

}
